import { Injectable } from '@angular/core';
import { BaseRequestOptions, RequestOptions } from '@angular/http';
@Injectable()
export class DefaultRequestOptions extends BaseRequestOptions {
  constructor() {
    super();
    this.headers.set('Content-Type', 'application/json;charset=UTF-8');
    this.headers.set('Accept', 'application/json;charset=UTF-8');
  }
}
export const requestOptionsProvider = { provide: RequestOptions, useClass: DefaultRequestOptions };
